package com.yuandian.api.management.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 漂移IP下线表-实体
 * @author zfsn
 * @date 2023-3-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "漂移IP下线表", description = "漂移IP下线表")
@TableName("conf_ip_drift_offline")
public class ConfIpDriftOffline extends BasePage<ConfIpDriftOffline> {

	/**
	 * 主键，唯一标识数据
	 */
	@ApiModelProperty(value = "主键", notes = "主键，唯一标识数据")
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 所属系统id
	 */
	@ApiModelProperty(value = "所属系统id", notes = "所属系统id")
	private Integer systemId;

	/**
	 * 所属网端id
	 */
	@ApiModelProperty(value = "所属网端id", notes = "所属网端id")
	private Integer segmentId;

	/**
	 * 所属组件id
	 */
	@ApiModelProperty(value = "所属IP组件id", notes = "所属组件id")
	private Integer ipComponentId;

	/**
	 * 创建人
	 */
	@ApiModelProperty(value = "创建人", notes = "创建人")
	private String createBy;

	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间", notes = "创建时间")
	private LocalDateTime createTime;

	/**
	 * 更新人
	 */
	@ApiModelProperty(value = "更新人", notes = "更新人")
	private String updateBy;

	/**
	 * 更新时间
	 */
	@ApiModelProperty(value = "更新时间", notes = "更新时间")
	private LocalDateTime updateTime;

	/**
	 * 是否逻辑删除，0：否、1：是
	 */
	@ApiModelProperty(value = "是否逻辑删除", notes = "是否逻辑删除，0：否、1：是")
	private Integer isDel;

	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注", notes = "备注")
	private String remarks;

	/**
	 * 新所属网端名称
	 */
	@TableField(exist = false)
	@ApiModelProperty(value = "新所属网端名称", notes = "新所属网端名称")
	private String segmentName;

	/**
	 * 开始时间
	 */
	@TableField(exist = false)
	@ApiModelProperty(value = "开始时间", notes = "开始时间")
	private String startTime;

	/**
	 * 结束时间
	 */
	@TableField(exist = false)
	@ApiModelProperty(value = "结束时间", notes = "结束时间")
	private String endTime;

	/**
	 * 系统名称
	 */
	@TableField(exist = false)
	@ApiModelProperty(value = "系统名称", notes = "系统名称")
	private String systemName;

	/**
	 * 组件IP
	 */
	@TableField(exist = false)
	@ApiModelProperty(value = "组件IP", notes = "组件IP")
	private String componentIp;

	/**
	 * 组件端口
	 */
	@TableField(exist = false)
	@ApiModelProperty(value = "组件端口", notes = "组件端口")
	private String port;

}
